//
//  MHToolUtils+File.h
//  Pods
//
//  Created by SY on 2019/7/20.
//

#import "MHToolUtils.h"

NS_ASSUME_NONNULL_BEGIN

@interface MHToolUtils (File)
+ (NSString *)homeDirectory;

+ (NSString *)documentDirectory;

+ (NSString *)cacheDirectory;

+ (NSString *)tmpDirectory;

+ (UIStoryboard *)mainStoryboard;

+ (NSString *)messageThumbnailDirectory;

+ (NSURL *)createFolderWithName:(NSString *)folderName inDirectory:(NSString *)directory;

+ (NSString *)dataPath;

+ (void)removeFileAtPath:(NSString *)path;

+ (void)writeImageAtPath:(NSString *)path image:(UIImage *)image;

/**
 *  返回文件大小，单位为字节
 */
+ (unsigned long long)getFileSize:(NSString *)path;
@end

NS_ASSUME_NONNULL_END
